package com.groupbuying.cheetah.order.orderCounterFlow.dao;

import com.groupbuying.cheetah.order.orderCounterFlow.domain.OrderCounterFlowDo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@Mapper
public interface OrderCounterFlowDao {
    /**
     * 我的订单列表
     */
    List<OrderCounterFlowDo> orderCounterFlowList(Map<String, Object> map);

    int count(Map<String, Object> map);

    //app通过条件查询优店用户
    List<String> getCustomerIdForAppSearch(Map<String,String> param);

    //通过优店用户查询订单
    List<OrderCounterFlowDo> orderSearchForApp(Map<String, Object> map);
    //查询订单数量
    int countSearchForApp(Map<String, Object> map);
}
